package org.com.ashen.service.dao;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.apache.commons.lang3.StringUtils;
import org.com.ashen.dal.dataobject.SaasAppSession;
import org.com.ashen.dal.dataobject.SaasSession;
import org.com.ashen.dal.mapper.SaasAppSessionMapper;
import org.com.ashen.dal.mapper.SaasSessionMapper;


@Service("saasSessionDao")
public class SaasSessionDao {
	@Resource
    private SaasSessionMapper saasSessionMapper;
	
	
	
	public SaasSession getSession(Integer sessionid) {
		 if (sessionid <= 0) {
	            return null;
	        }
	        return saasSessionMapper.selectByPrimaryKey(sessionid);
	}
	
	
}
